[anthy] remove hack specific for scim and use another hack based on keycode