O_CLOEXEC is not available on Nuttx, nor it makes sense there. Define it as 0, so we can use it in code.