HHH-8941 add SQLFunctionTemplate for replace(?, ?, ?)

this adds a SQLFunctionTemplate to support REPLACE(?, ?, ?) 

related to https://hibernate.atlassian.net/browse/HHH-8941