libfreerdp-core: fix ignored port settings for TS Gateway and vmconnect