[BlackBerry] Implement OSAllocator::commit/decommit in the correct way