iris: Guard GEN9-only function in Iris state to avoid warning