Your only options in CtP2 would be to either avoid building a city mostly surrounded by mountains in the first place, or use farmer specialists until the city grew into another ring, and if the outer ring/s contain farmable land you can continue growth that way, rather than continually adding specialists.