stream-restore: make version check stricter when dropping old entries
If we increment ENTRY_VERSION in the future, the old code would drop entries with version 2, but we only want to drop entries with version 1.
This issue was spotted by Igor Kovalenko: !298 (comment 983365)