[PATCH 5.10 466/523] soc: qcom: mdt_loader: Ensure we dont read past the ELF header