do not generate .h for .java files in consts/

Signed-off-by: Mattias Andrée <maandree@operamail.com>
make: do early extensions

Signed-off-by: Mattias Andrée <maandree@operamail.com>