Add simple buffering to internal nestegg_io to reduce the cost of the byte-at-a-time parsing.
Whitespace/formatting only changes.
Fix win32 build: C99 types issue.