zotonic-tpl-mode: optimize font-lock regexp.

For unclosed tpl tags, the regexp got exponential processing time searching for the closing %},
so with ~10 lines to process, it would take more than minutes to complete.