build: Fix duplicate source reference when search provider is enabled

We get a duplicate inclusion since previously $(BUILT_SOURCES)
was appended to $(gnome_terminal_server_SOURCES).

This is a bit annoying with Automake - best practice here is to define
an intermediate variable.

https://bugzilla.gnome.org/show_bug.cgi?id=724584