libfreerdp-codec: produce correct LOM/CO sequences