Set G_SIGNAL_DEPRECATED on annotated signals

When using the [Deprecated] attribute on a signal, the corresponding
signal flag is now set upon signal creation. This requires that
--target-glib is set accordingly

Fixes bug 732381