[v18.x backport] deps: upgrade npm to 9.2.0
Backport of https://github.com/nodejs/node/pull/45780 and https://github.com/nodejs/node/pull/45693.
Hopefully I'm not jumping the gun here. @nodejs/releasers
This is just a cherry-pick of the relevant commits. No merge conflicts needed to be resolved or anything like that.
@nodejs/lts @nodejs/releasers @nodejs/npm