Also fix a race in MTProto debug type serialization initialization.
Add a new codegen action to generate MTP scheme from scheme.tl file.