gif file support.

some gif files are not strictly follow 89a. DGifSlurp will return read head error or get record type error.
but the image still can display. so here should igron the error.

Signed-off-by: qijiang.guo <qijiang.guo@gmail.com>