mail/xmail: Make buildable again under 14-CURRENT
Circumvent -Wincompatible-function-pointer-types to make build
under 14-CURRENT again and revert 093a84fae0a8 (deprecation).
Pending maintainer approval the next step will be assume
maintainership.
PR: 272558