Add hidden config to disable pin/unpin monitoring

It's important that this one is `static final` because that is what allows HotSpot to treat it as truly constant, so it can be constant-folded everywhere, allowing dead-code-elimination to completely remove the pinned/unpinned calls from the emitted machine code when the feature is disabled.