MinGW: truncate exit()'s argument to lowest 8 bits