Support thread-safe LV2 state restoration