[PATCH] open: make RESOLVE_CACHED correctly test for O_TMPFILE