Deal with removal of protobuf_c_default_allocator.

The protobuf-c lib removed this.  So had to recreate it here.
Fix tests.