core: Fix dec/inc_kernel_live_count mixup