[PATCH 4.14 156/195] pipe: fix off-by-one error when checking buffer limits