Supply a default implementation of the `SLIST_FOREACH_SAFE` macro.

git-svn-id: https://elftoolchain.svn.sourceforge.net/svnroot/elftoolchain/trunk@2851 95820547-d848-0410-985e-9ae8fe0fa350