spv: Move sync ops inside sidechain mutex
spv: Move sync ops inside sidechain mutex

This fixes a potential race issue where the sidechain forest is accessed
outside the lock.

decred/dcrwallet,decred/dcrwallet