generate_vulkan_layers_json.py: Fix Python 3 compatibility