efi_loader: error handling in efi_setup_loaded_image()