[PATCH 5.18 781/879] selftests/landlock: Extend access right tests to directories