component/mariadb: remove unused socket in mariadb-background-template
Recently had an issue in production for the OMailgw instance; it failed to start because MariaDB wouldn't boot. Reason was a stale var/run/mariadb.sock file. Removing it fixed the issue.
There is already a script in component/mariadb that removes unused sockets; this MR makes it so that this script is ran before starting the temporary mysqld (which is used to check the config is correct).