[PATCH AUTOSEL 5.4 077/205] libbpf: Fix compatibility for kernels without need_wakeup