msvcrt: Moved _get_osplatform to the new macros for parameters validation.