pothos-library: added use count to managed buffer