avcodec/aacenc: dont use global quality if its negative

Some applications used a negative value as default for "not set"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
avcodec/asvenc: dont use a negative global_quality

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>