mail/thunderbird: fix build with libc++18
Reported By: cy
(cherry picked from commit fc9a1f7cac8e13fc1ae2879dac1b9ed8720cf3a7)