crt: Add emulation of _get_fmode() function for pre-msvcr80 import libs Function _get_fmode() is available in msvcr80+, UCRT and also in msvcrt.dll since Windows Vista. Signed-off-by: Martin Storsjö <martin@martin.st>