perf: remove unecessary function for template load api
perf: remove unecessary function for template load api

(cherry picked from commit 697e13b234cc9aac97a9d5fc9027380c7fc8bf45)

marko-js/marko,marko-js/marko