fix opaque cast regression caused by 307c09b4 (implement struct-var suppression)