Replace sprintf by snprintf.
Fixes the following warning:
dune-alugrid/dune/alugrid/impl/serial/lock.h:26:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf (_fname, "%s.lock", name) ;
^