Revert "Fix unnecessary call to __strncpy_chk2"

This reverts commit 9461d67235c81719e7c1b2634871035fc92ee1d4.