[PATCH 5.4 360/403] soc: qcom: mdt_loader: Ensure we dont read past the ELF header