HPCC-8977 Clean Warning in mime.cpp

This fix changes the firstPartLength from unsigned to int in order
to clean the warning from Clang.

Signed-off-by: Kevin Wang <kevin.wang@lexisnexis.com>