mail/thunderbird: fix build with clang/libc++12
PR: 255954 Reported by: dim Obtained from: https://bugzilla.mozilla.org/show_bug.cgi?id=1694575