gldownloadelement: fix build with msvc

msvc doesn't like #ifdef inside macro expansion
1 file changed