fm: Initialize variables after fm_hal service connection

Initialize variables after fm_hal_service connection. In subsequent FM on,
if hal init happens before threads exits in previous FM off, there might be
race condition , because of which lib_running variable sets to 0 even if
init happens. This will lead to FM failure as all threads exits as
soon as created.

Change-Id: I2e61cc7ebb935c0b31c575aed60ead1424d23eb7
1 file changed