Add checks for buffer-length when parsing tags

Make sure given buffer is of adequate size to protect against out-of-bounds
exceptions before attempting to parse ID3v2 or Xing tags. Note the
intentional absence of such checks in `isReadableSequence`