debug: make __dprint() have printf() like argument type checking