Reduce manual reference counting in py-inferior.c