[PATCH 4.14 114/267] mlx4: Use snprintf instead of complicated strcpy