disable c89 mode on non-dev builds (and sol+mingw)

The new gcc options to enforce c89 mode break on mingw and solaris due
to the perl headers not correctly working with -DPERL_GCC_PEDANTIC.

They will now only be activated in M::I's author mode, and only when the
host is not mingw or solaris.
release 0.51