Fix bad cast in Gtk PasswordEntryBackend