IMPALA-1397: free local expr allocations in scanner threads

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