Sparc64: replace tsptr with helper routine