West's failure in Afghanistan no cause for schadenfreude: German president