Flush prints in use_debug_layers.py to avoid delayed printing in Python3 (Python prints should be interleaved with C++ prints)