sepcomp: introduce `class_info` to protect the access to the class struct