German president backs off from predecessor's pro-Islam line