Fix result precision in decimal round/truncate/etc and overflow.

Change-Id: I23840734fd5b7ab7404d94f6df05410b153354de
Reviewed-on: http://gerrit.ent.cloudera.com:8080/3338
Reviewed-by: Nong Li <nong@cloudera.com>
Tested-by: jenkins