Fix issue 9445 ICE(interpret.c) calling parameter in CTFE

Typo: should be checking variable has a value, not getting the value
(which will ICE if it has no value).
Merge pull request #1870 from donc/ice9445ctfe

9445 ICE(interpret.c) calling parameter in CTFE