smalloc: alloc failure cleanups

Signed-off-by: Jens Axboe <axboe@kernel.dk>