Fix all consdiff warnings from --enable-gcc-warnings