iris: Use new PIPE_STAT_QUERY enums rather than hardcoded numbers.