build: Fix --disable-threads.
* src/gen-lock-obj.sh: Fix generating '}}}'.
- GnuPG-bug-id: T5495
- Reported-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
- Fixes-commit: 1fb90a7da186ee2ee098a666f6f3a35bb1720e59
- Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>