[PATCH 5.15 284/620] soc: qcom: socinfo: Avoid out of bounds read of serial number