[PATCH 6.13 05/25] libfs: Replace simple_offset end-of-directory detection