Update upload-loader to share parse_srec.c with loader-C. Various minor tweaks to upload-loader.