Rename dec/inc_weak_task_count to inc/dec_live_count and remove register_task/unregister_task. Closes #4768
core: Fix dec/inc_kernel_live_count mixup
auto merge of #4858 : z0w0/rust/rm_weak_task_count, r=graydon