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