smtp: Fix compilation warning

comparison between signed and unsigned integer expressions