configure: add --enable-debug option

Right now, this option only makes buxton_debug() functional, but we can
make use of it elsewhere later.
Fix the buxton_debug macro to support arguments
Use buxton_debug() in a few places