[SPARK-58052][SQL] Throw overflow errors for ceil and floor in ANSI mode