Backport Optimize varargs by using js.WrappedArray instead of scm.WrappedArray.

(cherry picked from commit af3653d43cfcf5f63fcc566eaa09d4eedd50814f)

Conflicts:

	ci/checksizes.sh