Remove compiler warning spam on dos-djgpp

(cherry picked from commit 1d8d63dcc3ec46dd8a437dab18cca3fb42880079)