[PATCH 5.4 002/102] libbpf: Fix compatibility for kernels without need_wakeup