alloc: fix bug in tiny allocator