8161579: Array-like AbstractJSObject-based instance not treated as array by native array functionsReviewed-by: jlaskey, attila