Adaptive Damping in Shape Memory TiNi during Cavitation