Support enumerate() in nopython mode