libfreerdp-core: improve bitmap codec negotiation