make lua and ubasic set_record work if a USB connection is present, by calling switch_mode_usb. Suggested by rudi in http://chdk.setepontos.com/index.php?topic=9582.msg98447#msg98447