Fix warnings about lock level
The following warnings should be fixed:
- `Warning: method has lock level <unknown>, but another method has 0`
- `Warning: method has lock level 0, but another method has <unknown>`

See also: https://github.com/soasme/nim-markdown/issues/38#issuecomment-533509551