McDonald's has hiked the price of its cheeseburger in the U.K. for the first time in 14 years as cost pressures bite.