Allow to override how wrapped direct ByteBuffer are allocated to make it easier to extend