[PATCH 4/5] wineoss: Move the midi in buffer lock to the unixlib.