[PATCH v3 1/5] ddraw: Convert BOOL flags to bitmask in ddraw_surface.