Ex-German President warns of far right at Buchenwald event