[PATCH OLK-6.6 1/3] [Backport] soc: qcom: mdt_loader: Ensure we don't read past the ELF header