[REG2.066a] Issue 13180 - AA get returns const(char[]) instead of string

https://issues.dlang.org/show_bug.cgi?id=13180

It's a corner case between [enhancement 12290](https://issues.dlang.org/show_bug.cgi?id=12290) and improved top-const removing which implemented in #3763.