Remove goto keyword at gif-loading.cpp + Print error log