Make methods on GrGpuResource safe to call on abandoned resource

BUG=chromium:528908

Review URL: https://codereview.chromium.org/1367533004
2 files changed