mfreerdp: fix clipboard missing last character and extra last character