[PATCH 2/4] ntdll/tests: Convert DIR_TEST_CREATE_OPEN into a function.