hal: fix incompatible APIs

Avoid usage of deprecated API audio_stream_frame_size()
Update open_input_stream() and open_output_stream() APIs to
match the updated signature.

Change-Id: I70f9142d53d562b2ce0a286ef2900938fc066876
1 file changed