[REG2.066a] Issue 12316 - AA.get broken for Object VAL types

https://d.puremagic.com/issues/show_bug.cgi?id=12316

The root cause was the incomplete fix for issue 7757.