Add supprt for allocateDirect to ByteBufferPool