[settings] fix possible null ptr dereference in CGUIDialogSettingsBase::SetupControls

Fixes coverity CID 1215664