Fix total_time counter in Select/Union nodes.

Change-Id: I9e4b83ecf240eaab455dbd857461ad3d4d7203cc
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/5348
Reviewed-by: Nong Li <nong@cloudera.com>
Tested-by: jenkins