Bug 860595 - video decoder not released while power on

The initial phenomenon is 'power off animation' with video for customization doesn't work

I found the  video decoder not released while power on, which cause video app can't decode and power off animation can't decode, too.

Sotaro Ikeda suggest not apply gecko patch in 1.0.1, and use workaround in gallery app instead. 

With 

    elem.removeAttribute('src');
    elem.load(); 

we can release hardware decorder. 

do it in elem.onended not cover all edge cases. adding in 'else' section will release all video/picture src elements.