Fix rangeextract test case

There is no pythran converter for generators, so expand the generator to
return list instead.