In C++11/14, the return type of emplace_front and emplace_back was void. In http://wg21.link/p0084, Alan Talbot proposed changing the return type to return a reference to the newly created element.
We implemented that - but unilaterally.
This changes that, so that the change is only realized when building for C++17 or later.
This fixes https://llvm.org/bugs/show_bug.cgi?id=31680.