libfreerdp-core: more GCC and MCS fixes