[PATCH 5.15 603/644] soc: qcom: mdt_loader: Ensure we dont read past the ELF header