Revert "Revert "Move localmatrix routines to shaderbase, no need to be public.""

Re-add old API behind guard.

This reverts commit f88a0e1c9138d54aa302dddc080d21cfd5325650.

Bug: skia:8941
Change-Id: Id8f211568ce381adc9cae8be01202a83f42da6a5
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/206384
Commit-Queue: Mike Reed <reed@google.com>
Reviewed-by: Mike Klein <mtklein@google.com>
8 files changed