Fix bug with face-id after restoring from pdump

* src/xfaces.c (init_xfaces): New function.
* src/emacs.c (main) [HAVE_PDUMPER]: If dumped with pdumper,
call init_xfaces.  (Bug#34226)
* src/lisp.h (init_xfaces) [HAVE_PDUMPER]: Add prototype.

* test/lisp/faces-tests.el (faces--test-face-id): New test for
bug#34226.
1 job for master in 7 minutes and 23 seconds (queued for 1 second)
Status Job ID Name Coverage
  Test
failed #665
test-all

00:07:23

 
Name Stage Failure
failed
test-all Test
make[2]: *** [bootstrap-emacs.pdmp] Error 2
Makefile:808: recipe for target 'bootstrap-emacs.pdmp' failed
make[2]: Leaving directory '/builds/emacs/emacs/src'
Makefile:423: recipe for target 'src' failed
make[1]: *** [src] Error 2
make[1]: Leaving directory '/builds/emacs/emacs'
Makefile:1116: recipe for target 'bootstrap' failed
make: *** [bootstrap] Error 2
ERROR: Job failed: exit code 1