esm: modify resolution order for specifier flag
Currently --es-module-specifier-resolution=node
has an alternative
resolution order than the default in common.js, this causes inconsistencies.
As discussed in @nodejs/modules we want to preserve resolution order between
implementations.