Fix -Wpointer-sign warnings in makefs and mkimg
Reviewed By: emaste Differential Revision: https://reviews.freebsd.org/D27175