fhopen: Restore the O_CREAT check
Fixes: 509189bb4109 ("fhopen: Enable handling of O_PATH, fix some bugs")