gd: fix 2 failed tests (bundled lib) due to arithmetic precision (allow minor diff).