[PATCH 4.14 36/89] x86/resctrl: Fix a deadlock due to inaccurate reference