[PATCH 6.1 377/578] soc: qcom: socinfo: Avoid out of bounds read of serial number