Because `strncpy` does not guarantee to NUL terminate the string
itself, this must be done explicitly.
readpe: Validate whether the DLL name offset is valid or not.