libubox: runqueue: fix use-after-free bug