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