build: Use local macros to detect vala

Fixes build when vala < 0.19 is present.
rsvg-filter: Don't overrun an array when given invalid inputs

Yikes. Just select R/G as defaults.
rsvg-filter: Remove a bogus NULL check

We've already dereferenced name at this point.