fix verify error with wrong cast code in visitArrayExpression