smalloc: revert change to use pointer indirection

Better to compare fixed addresses than to use pointer indirection.