I think this is a safe change. On some older systems one may have to add
extra C++ flags to compile JavaHL if the native compiler doesn't
understand C++11 mode, but that's not too hard to do. Nothing else is
affected.

If we decide that JavaHL should still be compiled in C++98 mode, we can
invent a new set of compilation mode flags for that.