winsane: Fixed memory leak on incomplete scan
winsane: Reverse byte order only for frames with bit depth >= 16
winsane: Replaced WINSANE_Scan_Result enum with SANE_Status values