Fix BUG= listing produced by llvm_deps_bump.py

 * Fix deduplication of issue URLs so that it actually works.
 * Don't output "BUG=none" when some URLs are listed.
 * Reverse the order so that it matches the order of the commit summaries.