giflib: enable shared building

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
gcc: update

Signed-off-by: Timothy Gu <timothygu99@gmail.com>
Merge branch 'master' of https://github.com/mxe/mxe