[REG] Issue 12002 - Internal error: toir.c 181

https://d.puremagic.com/issues/show_bug.cgi?id=12002

This is git-head only regression caused by #3110.
It had silently changed inline const calculation for sub-ASTs.

Assigned to: @yebblies