Fix/xcode 14 crash on register 5 1

Quentin Arguillere
2022-09-15T16:34:53Z

belle-sip: https://gitlab.linphone.org/BC/public/belle-sip/-/merge_requests/269