Fix corrupted wadfolder

Memory wasn't allocated for wadfolder which caused DOOM RETRO to go into
endless loop at startup in some instances.