[CorDebug] Fixed 2 cannot implicitly convert issues.

Removed a redundant assignment, 2 redundant namespace usages and a redundant cast.