Debugger: Add handling for rvalue reference type entries.

Fixes part of #10659.
Hey: Style fixes, code clean up

No functional changes intended
Hey: use delete[] instead of free (CID #990947 and CID #990948)