Add !IsArray() check for dictionary conversion in union types

A sequence<T> and a dictionary are distinguishable. If a JS object
is an array we want to convert it as a sequence.

Review-Url: https://codereview.chromium.org/1994823002
Cr-Commit-Position: refs/heads/master@{#394739}
2 files changed