[PATCH 4.19 43/72] x86/resctrl: Prevent possible overrun during bitmap operations