libfreerdp-codec: reduce size of GDI bitmap encoder