x509_pem.py: fix stripping last hex digit in Certificate.dict

Python 3 doesn't have long integers, so specifically strip the 'L' instead
of the last character.