explicit cast in dlload.c

for MSVC