Add giflib@5.0.4, patch imlib2 to compile with the latest giflib and add
ability to apply patches to nested folder structures.