[PATCH 5.4 139/328] soc: qcom: socinfo: Avoid out of bounds read of serial number