Changed nmem_mutex_create so that it properly handles concurrent