v.22.12Bug Fix

Fix parser bug allowing unlimited round brackets in functions with allow_function_parameters set

Fix a bug that allowed the parser to parse an unlimited amount of round brackets into one function if allow_function_parameters is set. #43350 (Nikolay Degterinsky).