Driver core: add groups support to struct device