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