VAPI: support VLAs in type definitions