[PATCH 5.19 002/192] efi: capsule-loader: Fix use-after-free in efi_capsule_write