Merge "HAL: Fix for crash due to structure mismatch during st deinit"