THRIFT-2757: py - fixed checkIntegerLimits in TProtocol.py

Client: Python
Patch: Bret Curtis

I was applying patch, refactoring method names and profiling method, all at once
and in that commotion code in commit was half refactored. This commit fixes it.