[z2212] Fix No-PCH compile. Also make some InstanceData Getter const

(based on commit [12309] - f3a24b5)

(based on commit [s1846] - f32ee35)