[graphite] VulkanResourceProvider findOrCreate method improvements

* Remove unnecessary cache lookups after resource insertion; we have no reason to suspect the insertResource call will be unsuccessful so there's no need to perform such a costly verification so often.

* GraphiteResourceCacheTest explicitly does this type of check.

* Improve descriptor pool, set, and set layout object lifetime management and comment documentation

Change-Id: I4bd8fa89c0fec296be212dc7bd62f259f74c5758
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/773957
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Nicolette Prevost <nicolettep@google.com>
4 files changed