Audio policy: fix effect parking when releasing an input

When releasing a record client from an input descriptor,
park effects in the client session only if this client is
the last connected client in this session.

Bug: 330442316
Test: repro steps in the bug
Change-Id: I55c60cb8be8beffe23ded62fcacbe5dc028f3a8f
1 file changed