visual: add bufferpool support to libvisual