writerfilter: std::map::erase(const_iterator) is C++11 only

Change-Id: I3959fe8341b053116e8c3d898da02c82f4118203