Avoid infinite loop in getCurrentExePath Win32

Believe in MAX_PATH max