fix uninitialized mode variable in openat function