pal : add check in ipc_pal_stream_set_volume to avoid OOB

Add below checks in ipc_pal_stream_set_volume to avoid OOB,
1. check noOfVolPairs is not more than size of volPair vector
2. check that vol vector size is exactly one

Change-Id: Ic47431f7573b58e229ddb01d03f40fd2fbef634d
1 file changed