Allow convertArraySize to take an integer size.

Previously only Expressions were allowed, which forced the Array
builder to create a DSLExpression object needlessly.

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