youtube.lua: handle inlined function in descrambling javascript
directsound: use software gain only when amplifying

This way we get the features of both worlds: from 0% to 100% you
get quick volume change with no saturation, and you can still get
amplification over 100%.

Fixes #9371
vda: fix linking
macosx: increase room for l10n of a checkbox in prefs panel
avcodec: specify which encoder failed to initialize (fixes #9418)