iris: Clean up compiler warnings about unused
Removed a few unused variables. Kept name around since there's a commented debug that make use of it. Kept iris_getparam_boolean so it is around when we need it.
Removed a few unused variables. Kept name around since there's a commented debug that make use of it. Kept iris_getparam_boolean so it is around when we need it.