build: turn on debug-safe optimizations with -Og