[SPARK-4928][SQL] Fix: Operator '>,<,>=,<=' with decimal between different precision report error

case operator  with decimal between different precision, we need change them to unlimited
We can add a guard `if p1 != p2 || s1 != s2` here and all 3 clauses below.