Fix/gcc 14 build

Sylvain Berfini
2024-04-24T15:38:58Z

https://gitlab.linphone.org/BC/public/liblinphone/-/merge_requests/3024