Various bug fixes.

functions.d/buildfunctions.sh: Correct copy/paste typo in comment.
functions.d/passfailfunctions.sh: Use $gitrev in message, not bogus $prgrev.
functions.d/srcfunctions.sh: Use DOWNLOAD for i?86, not just i486.