Only pedantic if we can skip vla

Signed-off-by: Evan Senter <evansenter@gmail.com>