vk_find_struct: use the requested type to calculate sType

Add the type->id mapping to get Vulkan struct sType at
compile time. This will produce a compile time error
for unknown types.

Bug: 131181334
Test: make
Change-Id: Ib3003195d686ba20b3ea16a3215c4e6d07426fb7
Merged-In: I47800f6068cb21eabac935cf5873faee7e5a2854
5 files changed