intel/tools: Fix detection of enabled shader stages.