Merge pull request #3884 from WalterBright/fix11946

[reg] fix Issue 11946 - need 'this' to access member when passing field to template parameter
Merge pull request #3879 from WalterBright/fix13303

[Reg] fix Issue 13303 - Internal error: ..\ztc\cgcs.c 351 with rvalue Variant.get call