glib2 OSX: add try_compiler_option_strictly

In recent OSX, default compiler of Command Line Tools 4.0 or higher is clang.
So, '-Wout-of-line-declaration' causes flood of warnings as follows:

```
warning: unknown warning option '-Wunsafe-loop-optimizations'; did you
mean
      '-Wout-of-line-declaration'? [-Wunknown-warning-option]
```
glib2: add `-Werror` option when checking option
glib2: use added `-Werror` version try_compiler
Merge pull request #230 from cosmo0920/compiler-option-warning-using-clang

glib2: using "-Werror" to check whether it can use compiler option

Patch by cosmo. Thanks!!!