Detects usages of LocalKey::with() method that can be replaced with stable thread local methods.