Merge pull request #3762 from 9rnsr/fix13132

[REG2.066a] Issue 13132 - ICE on interface AA key
Merge pull request #3735 from WalterBright/fix12989

fix Issue 12989 - Wrong x86_64 code for delegate return when compiled as...
Merge pull request #3739 from WalterBright/fix12989-2

2nd try at fix Issue 12989