lib/bug.c: use common WARN helper