vec: Fix size_hint() of reverse iterators

Fixes #7558
Merge pull request #7565 from Blei/fix-rev-size-hint

vec: Fix size_hint() of reverse iterators