Revert "Add bounds checking to IOBuffer seek, skip code (fixes #8193)"
Fix #8193, take 2.