Revert "Added ksmstats to XML + small fix."

This reverts commit 7493872d9e054a9629850126a72a571790768e35.
Revert "Sync to all KSM cortex function updates by VOKU! TESTING! :)"

This reverts commit 3e970f9b0b2c95036a21c54196a99918d90e6b9c.