build: support configure-time --enable-gcc-warnings option