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

Reverts JuliaLang/julia#8229