build: depend on v8 postmortem-metadata if enabled

This makes sure postmortem metadata is generated before trying to build node, this only appeared to be a problem when building inside of xcode

see #4020