[Cosmetics] Update standalone stream index tool

There was a bug in the channel info calculation that was fixed in
fc2be3af37a9109299cc5b3bdc9f72d6ec7b8f1f. Update the standalone example
code, too.

Note that this is solely for documentation, streams.c isn't used in the
driver.