if !G_THREADS_ENABLED, eat the trailing semicolon with a bogus function