Tweak configure flags.

When -debug, --disable-llvm-assertions is added to reduce compile time
and improve performance. Otherwise, disable various optimizations to
make debugging easy.

Signed-off-by: OGINO Masanori <masanori.ogino@gmail.com>