winemac: Make macdrv_set_cocoa_window_frame() synchronous again.

It has a non-object pointer from the caller, so it can't allow the caller
to continue until it's finished with it.  Also, it discards events from the
event queue and we don't want the caller to process them first.

Fixes brokenness introduced by 784a9139.
mscoree: Fix runtime shutdown code.
winemac: Defer attaching OpenGL context to a view which is zero-sized or outside its window's bounds.

That fails with the dread "invalid drawable" message.
include: Add IConfigAviMux definition.
include: Add IConfigInterleaving definition.
include: Add IPersistMediaPropertyBag definition.
qcap: Add AVI Mux filter stub.
oleaut32: Use BOOL type where appropriate.
propsys/tests: Use BOOL type where appropriate.
propsys: Use BOOL type where appropriate.
scrrun: Use BOOL type where appropriate.
wined3d: Merge texture2d_bind() and texture3d_bind() into wined3d_texture_bind().
wined3d: Return early in wined3d_texture_bind() if the GL texture already has a name.
wined3d: Get rid of surface_bind().
wined3d: Merge surface_bind_and_dirtify() and volume_bind_and_dirtify() into wined3d_texture_bind_and_dirtify().
wined3d: Merge texture2d_unload() and texture3d_unload().
po: Remove an extraneous full stop in an error message.
riched20: Simplify the code by using an ME_Paragraph pointer.
winemac: Take WS_EX_TOOLWINDOW into account when computing how much of a window is replaced by the Mac decorations.
d3d9/tests: Add a test for AddDirtyRect.