epgcache.cpp: Allow other (Python) threads to run during text search

While searching for text, release the GIL so that other Python threads
get a chance to run. Doesn't really matter much, it just looks neat.
This is less simple for the next step, because that part manipulates
Python objects.