Add missing iCloud #ifdef in theme controller post-refactor

Textual was refusing to compile after the theme controller refactor. This allowed the build to finish, and it's running fine so far.