fontforge: Only perform FlatCarbon replacement for non-HEAD builds

This isn't needed in the fontforge HEAD - all header paths are
correct there.

Closes #25195.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>