libxrdp: no logic change, fix warning, some optimize planar compression