hwpmc: Make powerpc memory allocation alike to x86.
It should remove some unneeded pointer dereferences.
MFC after: 1 month