Bug 821086 - Modify run-gdb.sh to attach to a PID by name. r=dhylands

See https://bugzilla.mozilla.org/show_bug.cgi?id=906816 for review