upload-update-site.sh: detect executable to use

The Bio-Formats update site Jenkins jobs failed today because
ImageJ-linux64 was missing, even though fiji-linux64 was still present.
Probably there was a change in the Fiji update site configuration. But
regardless, let's be more thorough about detecting which executable to
use for uploading the update site, rather than hardcoding 64-bit Linux.