cc/gcc: Use build flags for core C compiler

In a Canadian build, the core C compiler (for pass 1 and pass 2) only runs on the build machine, not the host. The core C compiler should be built with the CFLAGS and LDFLAGS for the build machine, not the host.