[PATCH] virresctrl: Fix updating the mask for a cache resource