[PATCH 6.6 188/393] perf lock: Fix parse_lock_type which only retrieve one lock flag