winsane: Improved byte-order handling using standard methods

Removed custom code to detect and handle a mismatching byte-order.