Check that the offset of firsts/counts/instanceCount does not exceed the size
Pull request: https://github.com/WebKit/WebKit/pull/1674
<rdar://problem/96117578>