drivers/base: Use attribute groups to create sysfs memory files