Port change to get stats from memory rather than RMS,
which is expensive.

Picked up a change from Selva to handle the core seen
- missed in previous merge.

Change-Id: I4426b58e1fe18492f52ed577e2c38b1453feff17
Merge "Port change to get stats from memory rather than RMS, which is expensive."