ws: Move G_LOG_DOMAIN define to fix build on clang