[PATCH] gdi32: Fix some test failures when not using X11.