src,permission: resolve path on fs_permission
This resolves a known limitation of the permission model by using the new PathResolve method from the C++ side. Therefore, we don't need to resolve all paths on lib/fs.js
when the pm is enabled, we do it only when checking is_granted
It's unlikely to happen, but this might affect users relying on resource:
being always the absolute path. With this change, resource
will be equal to the given param to fs.* calls.
cc: @nodejs/security-wg