regress: Add regression test for signal with GError param
This exercises the little-used code path where a signal is emitted with a nullable GError as a parameter. It's modeled after GstPbutils.Discoverer's 'discovered' signal.
See gjs#262 (closed).