Fix device effect instatiation

-configure shall be called before any setParam (device, ...) as it
will open the effect, thus creating the context.
Context shall not be null to handle any setParameters

-Input / Output MQ are invalid if the effect buffer size is 0.

Bug: 32939147
Test: atest CtsMediaAudioTestCase

Change-Id: I13676bc6564b24cf3b8d56e0646dc263599fea35
Merged-In: I13676bc6564b24cf3b8d56e0646dc263599fea35
Signed-off-by: François Gaffie <francois.gaffie@renault.com>
2 files changed