ZVISION: Consistently use the type of the state map

Should fix the AmigaOS4 build