fcitx: build im modules for gtk2, gtk3 and qt4

see #2450 (under discussion) for nixos integration.