WifiVendorHal: Make HAL state change callback synchronous

Ensure that the HAL callback is synchronous (not posted to handler
because it will cause a race with the onDestroyed callback is
synchronous).

Bug: 79532177
Test: Unit tests
Test: Kill wifi HAL and ensured that interface is not destroyed by
HalDeviceManager before WifiStateMachine processed the death
notification.

Change-Id: Ie9237609466d790a4a09b8bc2d2648fef9414546
2 files changed