mysql: fix build against libressl (fix from voidlinux)