AudioVideo common: fix value of 2DParam given to avtranscoder profile
AudioVideo common: clean util

Unused variables.
AudioVideo common: refactore getCorrespondingProfile

* Move definition of getLibAVOptions to getCorrespondingProfile (only
use once).
* LibAVParams attributes are private.