[Mono.Debugging.Soft] Fixed primitive type casting in the evaluator

Fixes bug #16981