togglerecord: Fix lock ordering
togglerecord: Fix lock ordering

Fixes deadlocks.

Correct lock ordering is:
1) Main stream state lock
2) Other stream state lock
3) Recording state lock

sdroege/rsplugin,sdroege/rsplugin