[PATCH 5.11 253/601] soc: qcom: mdt_loader: Detect truncated read of segments