Fix the build on FreeBSD 9.x by backporting r413495 and r413496 from
mainline after a month:
Force the use of GCC where it is the system compiler since COMPILER_VERSION will be 42 (the GCC version) even if clang is CHOSEN_COMPILER_TYPE in that case.
PR: 206527
Approved by: portmgr (blanket for build fixes)