altos/ao_pad.c: Use #if HAS_LOG instead of #ifdef HAS_LOG