hal: fix mul_overflow error

fix mul_overflow error in GetFrames

Change-Id: I0714a3e2a52e5b21d3638251e4931b254254ae20
diff --git a/hal/AudioStream.cpp b/hal/AudioStream.cpp
index 79120e8..bf2a27c 100644
--- a/hal/AudioStream.cpp
+++ b/hal/AudioStream.cpp
@@ -3228,9 +3228,8 @@
     AHAL_VERBOSE("session msw %u", tstamp.session_time.value_msw);
     AHAL_VERBOSE("session lsw %u", tstamp.session_time.value_lsw);
     AHAL_VERBOSE("session timespec %lld", ((long long) timestamp));
-    timestamp *= (streamAttributes_.out_media_config.sample_rate);
-    AHAL_VERBOSE("timestamp %lld", ((long long) timestamp));
-    dsp_frames = timestamp/1000000;
+    dsp_frames = timestamp / 1000
+                 * streamAttributes_.out_media_config.sample_rate / 1000;
 
     // Adjustment accounts for A2dp encoder latency with offload usecases
     // Note: Encoder latency is returned in ms.