Bug 1032528 - Use C{,PP,XX}FLAGS when determining the compiler version in case it can be affected by what is there; r=glandium

This for example allows us to use -fmsc-version in CFLAGS/CXXFLAGS
with clang-cl.