Add SkNVRefCnt::getRefCnt()

Used in Blink unit tests.

TBR=mtklein@google.com,humper@google.com

Review URL: https://codereview.chromium.org/746693002
diff --git a/include/core/SkRefCnt.h b/include/core/SkRefCnt.h
index 930bf86..1e31d918 100644
--- a/include/core/SkRefCnt.h
+++ b/include/core/SkRefCnt.h
@@ -263,6 +263,8 @@
     void    ref() const { sk_atomic_inc(&fRefCnt); }
     void  unref() const { if (1 == sk_atomic_dec(&fRefCnt)) { SkDELETE((const Derived*)this); } }
     void  deref() const { this->unref(); }  // Chrome prefers to call deref().
+    int32_t getRefCnt() const { return fRefCnt; } // Used by Chrome unit tests.
+
 private:
     mutable int32_t fRefCnt;
 };