Fix stack alignment for SkAutoSTArray

The alignment for the inline memory was incorrect for T with
alignof(T) > alignof(T*). This would be things like closures
and std::function on mac. So, rare, but still a bug.

Change-Id: I867f688bdb28ad489b465f1ae379be6dc0247b18
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/629344
Reviewed-by: Brian Salomon <bsalomon@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Herb Derby <herb@google.com>
1 file changed