Refactored WMME buffer code.

The buffer creation now does not require a valid device handle.
Minor fixes to WMME I/O code.

* Buffer release now does not employ sync, just retries unprepare.
* Initial submit is now done together with prepare, not with create.
* Increased input buffer size to avoid overflows.