win32: implement rtb_get_modkeys()