parser: fix off-by-one error when checking for >

* scew/parser.c (parse_stream_buffer_): make sure we don't have an
  off-by-one error when checking for element closure.