mesh: Fixed warning-to-error from GCC 8.1.1

Fixed compiler flagged unsafe usage of strncpy
1 file changed