hal: fix for surround sound recording

- Use proper period_size(512) and period_count(8)
  for 4ch pcm recording.
- Fix read logic in ssr_read to capture 4k data
  for each read
- Miscellaneous code clean up for variables, APIS,
  and debug dumps.

Change-Id: I01c0e99a717a3536bd7d19c2f46ed10be77661e4
Crs-Fixed: 589342
diff --git a/hal/msm8974/platform.c b/hal/msm8974/platform.c
index 272dea8..69c88f4 100644
--- a/hal/msm8974/platform.c
+++ b/hal/msm8974/platform.c
@@ -561,7 +561,7 @@
     audio_extn_usb_set_proxy_sound_card(adev->snd_card);
 
     /* Read one time ssr property */
-    audio_extn_ssr_update_enabled(adev);
+    audio_extn_ssr_update_enabled();
     audio_extn_spkr_prot_init(adev);
     return my_data;
 }