Initialize buffer to avoid reading uninitialized memory

When parsing from a file-like object, first initialize the buffer that
is used by the parser, since otherwise read_array_header(),
read_map_header(), and possibly other low-level parsing functions read
uninitialized memory.

See issue #83.