STLINK: Test device version (v1/v2) on usb transfers and add sg support