[swift-generator] Fix generator imports