[PATCH 3.16 204/410] pipe: fix limit checking in alloc_pipe_info()