[ptrintenum] Use PointerLikeTypeTraits to convert PointerTy <-> (void *).
[ptrintenum] Use PointerLikeTypeTraits to convert PointerTy <-> (void *).

This will enable PointerIntEnum to be used with PointerLikeTypes that are not
pointers (for instance SILValue).

khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift,khizkhiz/swift