[Fix](regression-test)fix unstable test_default_limit case. #23270
support sql_select_limit for original planner and Nereids. if enable the variable In original planner, add limit to the top planNode In Nereids, add limit node to the top in preprocess phase.