xfreerdp-server: fix XShm auto-detection and fallback