(re)allow WBMP detection with system libgd
provide getbmi and skipheader not exported functions in gd_compat.
enable WebP with system libgd when available