[PATCH 4.19 02/79] efi: capsule-loader: Fix use-after-free in efi_capsule_write