[lld] Include reference kind in cycle detector debug output

This restores the debug output to how it was before r197727 broke it. This
went undetected because the corresponding test was never run due to broken
feature detection.