mfreerdp: fix build and cursor conversion