Comptime fields are never materialized in the ZigValue so pay attention when iterating over the fields array. Fixes #6800
@intCast