Malaysia's Mahathir Mohamad's role as advisor to Petronas terminated