[PATCH 6.12 054/322] soc: qcom: mdt_loader: Ensure we dont read past the ELF header