Long-term U.S. mortgage rates rose for the fifth straight amid investors' worries about inflation.