gcc50: Backport c++11 literal fixes from gcc80.