intel_rdt: fix a bunch of warnings