Remove some unused variables and functions from XHPAST
Summary: Minor cleaning up of XHPAST source code.
Test Plan: Ranunit tests.
Reviewers: #blessed_reviewers, epriestley
Reviewed By: #blessed_reviewers, epriestley
Subscribers: Korvin
Differential Revision: https://secure.phabricator.com/D14645