[PATCH OLK-5.10] soc: qcom: socinfo: Avoid out of bounds read of serial number