[PATCH] pipe: avoid creating empty pipe buffers