nine/buffer: allow D3DLOCK_DONOTWAIT