Allow to use new GD-2.1.0 function from system library
Remove overflow2, getmbi and skipheader, since they are not needed anymore.