[PATCH 5.10 174/201] open: make RESOLVE_CACHED correctly test for O_TMPFILE