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 the resulting app package is running fine so far.