packaging: Disable gcc optimizations and enable debug info

We need this to be able to get as much info as possible out of
crash reports and onsite diagnostics.