matroskadec: Check that .lang was allocated and set before reading it