slab: fix typo in allocation failure handling