[py3:tools/deadlock.py] fix usage of str.replace() method to make it py3 compartible
diff --git a/tools/deadlock.py b/tools/deadlock.py
index d6046c2..bc66677 100755
--- a/tools/deadlock.py
+++ b/tools/deadlock.py
@@ -477,8 +477,8 @@
 
     with open('deadlock.c') as f:
         text = f.read()
-    text = text.replace(b'MAX_THREADS', str(args.threads));
-    text = text.replace(b'MAX_EDGES', str(args.edges));
+    text = text.replace('MAX_THREADS', str(args.threads));
+    text = text.replace('MAX_EDGES', str(args.edges));
     bpf = BPF(text=text)
 
     # Trace where threads are created