IB/core: Add gid attributes to sysfs