[PATCH 6.12 144/590] samples/landlock: Fix possible NULL dereference in parse_path()