gallium/freedreno: add automake target 'template'