Fastfood giant McDonald's has decided to quit its Boston Market venture in Australia after less than two years.