Fix compiler warnings when --enable-assertions=no.