Update dhtreader.c to be compatible with Python 3.x C API

Accordingly to the follow manual:
http://python3porting.com/cextensions.html