[PATCH openEuler-22.03-LTS-SP1] efi/capsule-loader: fix incorrect allocation size