Simplify FIRST_VALUE analytic function implementation

Change-Id: I290adcaf50e9f5d5831eab4d67513d251e5fbe3e
Reviewed-on: http://gerrit.sjc.cloudera.com:8080/4418
Reviewed-by: Matthew Jacobs <mj@cloudera.com>
Tested-by: jenkins