[graphite] Move tiled rendering helper function to TiledTextureUtils

Both the Ganesh and Graphite DrawTiledBitmap implementations need access to this helper function.

This is almost entirely a mechanical CL.

Bug: b/267656937
Change-Id: I3125b1a8c7e425e64157554cfc2060cd851fd316
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/714196
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
3 files changed