kernel: add compatibility with upstream threaded NAPI patch