Support ByteBuffer and ByteBuf as parameters in prepared statements