[PATCH 6.12 293/590] perf lock: Fix parse_lock_type which only retrieve one lock flag