This seems to have regressed builds using --with-system-libffi (#17520 (closed)).
--with-system-libffi