move extra_sources earlier in signals.cpp code generation.

See issue here: https://github.com/openxc/openxc-python/issues/51