qt: simple prefs module availability fixes
This set of patches focusses on fixing issues with module availability in the simple prefs interface.
- It fixes crashes like #26492 (closed) where certain modules are unavailable.
- It fixes some issues correctly hiding/disabling options when corresponding modules are unavailable.