A......... [ZBX-8530] Fix order in which linked templates and interfaces are handled in host.update and host.massupdate.