When `FindFirstFileA` is called with `<path>/<file>/*` (where file is expected to be a directory), Windows uses the `ERROR_DIRECTORY` error.
This patch changes Wine's implementation to match Windows. This fixes a crash in Unity of Command II.
-- v3: server: Don't always return STATUS_OBJECT_NAME_INVALID on ENOTDIR.