replace variable length arrays with std::vector
Update parse-pbf.c for protobuf 1.0.X

Update parse-pbf.c replacing "protobuf_c_default_allocator" with "NULL" so that it compiles with protobuf 1.0.1.