avformat/mov: Check for string truncation in mov_open_dref()