Myanmar has expressed dismay after Malaysian Prime Minister Mahathir Mohamad said Rohingyas faced “massacre or genocide”.