lock tests: Avoid reference to undefined variable if !ENABLE_LOCKING. * tests/test-lock.c (test_once): Don't reference fire_signal if !ENABLE_LOCKING.