[U-Boot] [PATCH v4 7/8] sandbox: Add flags for open() call