Update GCC 4.9 bits/stl_algo.h to work with 4.2 parser

Drop use of decltype.

See also http://www.gccxml.org/Bug/view.php?id=14912