Fix crash because of the internal use of linphone_core_get_accounts_list(). Use the std list as much as possible.