qseecom: Fix issues in the return path of load external elf
qseecom: Fix issues in the return path of load external elf

Fixes the issues during the return path of qseecom load external
elf function. Improper return paths are present during the error
handling cases. Wrong goto calls results in unwanted code clean-ups
which might create problems. This patch corrects the return paths
during the error cases.

Change-Id: Icd526448e7be355acb438fff600e3e85664f75f5
CRs-fixed: 498153
Signed-off-by: AnilKumar Chimata <39a327f78a3cad909353cd37dc34e1a0b046c78b@codeaurora.org>

TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas,TeamVee-Kanas/android_kernel_samsung_kanas