svm: fix mutex consistency on trylock