ac/debug: use util_strchrnul() to fix android build error