Autoconf: Warn if we end up with no -O optimization option in CFLAGS.
Closes #592.

We do not warn from -O0 because that's probably intended. We might
want to add alternatives to -O (are there any?).