bmp2c64.c: fix for win32

division of negative int gave strange results, so negate AFTER division