handle a slightly different warning from libtiff 4.x