qt: Prevent possible crash when generating pin
* qt/pinentrydialog.cpp (PinEntryDialog::toggleVisibility): Check visibility action for nullptr.
This crash occurs if the visibility checkbox is created instead of the
visibility action of the password input field. This happens if the
icons for the visibility action cannot be found.