Address problems with CUDA build of flang-new runtime after a recent patch to an external open file API.