Dolby atmos patches

This cherry-picks the Dolby-Atmos patches done by @Nevcairiel to our 2.4 ffmpeg tree. This will make the TrueHD stream working on new blurays such like: Transformers something.

A sample can be found here: https://trac.ffmpeg.org/ticket/3960#comment:6