libfreerdp-codec: reduce number of variables