[PATCH 5.17 16/75] pipe: Fix missing lock in pipe_resize_ring()