Germany 'moving in right direction' on Huawei curbs, U.S. official says