[Python-checkins] bpo-29565: Fix compilation for C89 (GH-8626)