[PATCH OLK-5.10 1/2] fs/pipe: move check to pipe_has_watch_queue()