xrdp-ng: remove some unused code