Warn when constant name is used for unexpected object

This fixes the sort of weird things like `fc-match :size=rgb` done without any errors.
This might be annoyed but the error messages should helps to fix an application bug or
suggest more useful constant names to fontconfig.

Fixes fontconfig/fontconfig#137
2 jobs for master in 5 minutes and 15 seconds
Status Job ID Name Coverage
  Build
passed #53852
shared-build

00:05:15

passed #53853
static-build

00:04:19