modelbuilder: add `AClassdef::all_defs` to retrieve all sibling definitions