rest-gen: Bump Cabal upper bound to < 1.22
bump rest-gen