abort if we are called back in a non-main thread
Submitted by Colin Walters
Link to original bug (#708948)
Description
g_dbus_connection_add_filter() will call us from the gdbus thread. If we do this from gjs lots of hard to debug failure will happen.