Add bounds checking to IOBuffer seek, skip code