Update dojo/window.scrollIntoView to avoid iOS body scroll reset, fixes #17740

(cherry picked from commit 87a492b78c9738ae0d0e41fe81230b151803e819)
(backported by hand due to conflicts)