[PATCH 5.4 44/73] readdir: make sure to verify directory entry for legacy interfaces too