[PATCH 4.19 076/196] tools/memory-model: Fix bug in lock.cat