Add --enable-checking=release for core GCC

To get faster builds of later stages, we make sure that expensive checking is not performed by the core GCC compilers generated at earlier stages.