Honour upload.wait_for_upload_port setting
Fix serial port name if necessary

This fixes "No device found on /dev/XYZ" issues on Linux (and
possibly Mac OS X), as bossac only expects "XYZ" here.