Malaysian king appoints Mahathir as interim premier