audio: effect: cannot control device effect if already created by default

-map emplace add and destroy newly added handle if key is present
-HalHandle is recreated (replaced first then previous is deleted, thus
leading to remove the effect in the end).

Bug: 268441977
Test: make

Change-Id: I94ef3e72cdc994ea9dde4f915624b1a76e449310
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
1 file changed