forecast: Restrict strncpy() call