[PATCH 3/5] d3d10/effect: Add a helper to parse annotations array.