Prevent Bugzilla from making incorrect links

Looks like Bugzilla turns "bug #1234" into an invalid Redmine URL.  This
simply turns "bug #1234" into "1234", which at least still gives you
enough to figure out what bug it was.