pipebuffer, winsys: Add a size match parameter to the cached buffer manager