Support liq_attr_create_with_allocator(NULL,NULL)