Rename putchar_unlocked() to putchar_have_lock() to avoid GCC warning.