xrdp-ng: reuse same buffer for bitmap encoding