Fix off-by-one error handling OP_CODESEPARATOR