Round up SkSTArray storage to an 8 byte multiple.

Generally, the extra space would have been wasted on padding,
so we might as well leverage it for extra capacity.

Additionally, 8 bytes is the ASAN shadow granularity, so we can now
use ASAN to verify that the unused capacity isn't accidentally
accessed before its time.

Change-Id: Ib861127223cea81dca0815e0c63f7b09ffaf64e2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/842503
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2 files changed