[POWERPC] Change rheap functions to use ulongs instead of pointers