Fix vk_append_struct to add elements after the last one

This also limits list's length to some random number
to crash if the struct chain has a loop.

Bug: 131181334
Test: make
Change-Id: I4e7beb622afc35ee26b58f7060596bd3f2250156
Signed-off-by: Roman Kiryanov <rkir@google.com>
1 file changed