Fix type error in generated quasiquote patterns