matroska: prevent uids from being dereferenced when NULL

The old code prevented it since uids being NULL makes a 0 talloc length.
Now that we're iterating over a specific length, NULL can be
dereferenced.

Missed this case in the previous patch.