Part of Bug 646098 - vte uses too many file descriptors

Patch from Egmont Koblinger, from comment 13.
[stream] Add API to get start-of-page offsets

For previous behavior of the _vte_stream_head() api, add
index=0 to the new function.