Eliminate the use of variable-length arrays.

Allocating variable sized data structures on the stack can have security
and reliability implications. These particular uses do not look
problematic, but they prevent enabling -Wvla.

Bug: 114232578
Change-Id: I4ac2d46beb777426717439e13c444ec39a02ee1a
1 file changed