Added getOriginalValue() accessor to (Real)Literal

Issue: SPR-10248
Removed logging from GenericTypeResolver's resolveReturnTypeForGenericMethod

GenericTypeResolver is very low-level and quite a hotspot, so let's not do any logging there and rather use the debugger instead.