build: Add extra compiler warnings to the build

This is dependent on recent changes in gnome-common
(bug #707475).

The new compiler warnings can be disabled by setting
--enable-compile-warnings to anything other than ‘yes’
or ‘maximum’ during configuration.