fix: correctly parse pnpm lockfile settings (#7198)
### Description
Noticed that we've been improperly parsing the updated pnpm lockfile.
[source](https://github.com/pnpm/pnpm/blob/main/lockfile/lockfile-types/src/index.ts#L6)
### Testing Instructions
Added a unit test that verifies we get the correct info in the settings
field.
Closes TURBO-2210