hal: sndmonitor: Fix kw issue in sndmonitor

Fix state is used before check NULL.

Change-Id: I387fafd51d45406cb1be12af4f91720841cd5598
1 file changed