Fix Intel HD-specific error with non-constant array access for pixel labels #143