vulkan/context: move sw gpu check above surface support check
Works around a segfault in Mesa when enumerating device supported surfaces with llvmpipe present on the system while using VK_KHR_display.
Using --gpu-sw in mpv will allow reproducing the bug again.
See: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12198