x86/intel_rdt: Fix locking in rdtgroup_schemata_write()