guestagent/mysql: Remove unused function

This commit remove the dead function
`replace_mycnf_with_template`.

Closes-bug: 1351361
Change-Id: Ie9a17a972e069b27740c96188f176271599142f4
Merge "guestagent/mysql: Remove unused function"