kheap: Fix footer_t calculation in free function