Implement getStackTop() for MIPS and MIPS64