Change the scope of hostcall buffer access lock during destruction. Make sure wait() returns the signal value after timeout. That matches ROCr behaviour for HSA signal wait. Change-Id: I3df34207e0c2e21972ec8052777e5742bda1dca0