s390/monwriter: fix smatch warning for strcpy()