res_pjsip_mwi.c: Use safer loop coding in mwi_subscription_mailboxes_str().