Minor fix to build with duetto 0.9.1

Current duetto is a bit more picky when comparing void pointers. This patch disables the custom allocator code, which is anyway unused.