CSD: Fix possible crash when accessing nullptr

The output sink can be cleared before calling
start/stopMelComputation_l. Add check for nullptr.

Test: SoundDoseInteractiveTest
Bug: 271013496
Bug: 273898338
Change-Id: I5778de2ebadab770dab5d9f8a6613b1144cc3fe5
1 file changed