hal: fix segfalut from call to send audio calibration

- In case of speaker protection, capture usecase is not having
  valid input stream associated with it. Hence attempt to access
  stream info while sending calibration may result in segfaults.
- Add check in send calibration, to use stream info only if its
  available, and fallback to defaults if stream is not set.

Change-Id: I880f8c66e6cba65947846dd2fef74a74be125aa9
1 file changed