ACPICA: Fix code divergence of global lock handling