Fix several security issues in matroskadec.c (MSVR-11-0080).