AURORA: Allow named void variable in hasVariable()

Doesn't make much sense, but doesn't hurt either.

Coverity issue 1038263.