main/dovecot: Fix test failure on 32 bit systems
Backport of https://github.com/dovecot/core/pull/134
Should fix current build failures on armhf and armv7
Backport of https://github.com/dovecot/core/pull/134
Should fix current build failures on armhf and armv7