update kernel parameter checks to new error-message format
racket/sequence: fix `sequence-ref' for a too-large index