While `tp_print` was deprecated, Python 3.8+ uses this for
'tp_vectorcall_offset' which wasn't stated in the comment from
efd71aad4f
.
Instead of suppressing clang-tidy, use preprocessor a check since
this properly represents the difference between Python versions.