Average long-term US mortgage rate edges lower for the first time in five weeks