[PATCH 5/5] Implement KeAreApcsDisabled using critical region functions.