[library] Clean up CacheableBitmapDrawable.checkState()