Merge pull request #9812 from SuperIlu/mbedtls-3.6

Mbedtls 3.6: Fix compilation on MS-DOS DJGPP