Include <utility> for some versions of gcc's library.
Sometimes gcc's <cstddef> doesn't define the C++ macros, so check for it and include <utility> in that case. Also remove a workaround from container_fwd.hpp
Fixes #2924.