fix sendfile bug for iocp
update gas-preprocessor.pl
add invalid device state for iocp