g_error_new_valist, g_error_copy: warn if domain is 0 or message is NULL