intel_rdt: fix validation of configured core id values