[OSX] Fix "SIGILL: illegal instruction" on macOS Catalina

on OSX, strncpy may copy to overlapping (protected) memory. this sometimes happens when loading WAD files.

This patch eliminates these problems for me

Merge request reports

Loading