stacktrace: fix build failure on sparc64