[hacc] Fix to_hacc taking address of pointer instead of pointer itself