THH: Remove unused varNameE function

It doesn't seem this is found by our -Werror.