libfreerdp-core: sanitize NSCodec capabilities