freeswitch: workaround compile fail with gcc 12