mkvmerge: check result of tag parser file before using it

The result is a null smartptr if there are no tags inside the file. So
don't dereference it.

Fixes #921.