Fix some bugs in gdb pretty printer script.
Fix some bugs in gdb pretty printer script.

arangodb/Jason,arangodb/Jason,arangodb/velocypack,arangodb/velocypack,arangodb/velocypack,arangodb/velocypack,arangodb/Jason,arangodb/Jason