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: I265b0c69e528154917f031799b37014502fd4ec3
Merged-In: I5ae17ce129aba820b98f999208802c9135cbd8b8
Signed-off-by: Roman Kiryanov <rkir@google.com>
1 file changed