[PATCH 5.2 29/56] net: sched: Fix a possible null-pointer dereference in dequeue_func()