Gallery2: Avoid crash during muting video

See https://gerrit.omnirom.org/#/c/6673/

Change-Id: I787e12554836fa00f8a735d8856dac4a3da2decc