fix missing while. This garbled data when displaying on a BE host running at 32bpp, when rdesktop is running on a LE host connecting with 16bpp to the TS