Fix detection of Vala compiler at configure time

VALAC is set to "valac" if no suitable compiler was found. See
https://www.gnu.org/software/automake/manual/html_node/Vala-Support.html