Piotr Caban : msvcrt: Add create_locinfo helper function.