Make the UIService in FilePreprocessor optional

If there is no UIService: easy, we don't have to do anything in the
FilePreprocessor class.

This happens to fix a lot of stack traces show in otherwise succeeding
unit tests, reported by Jodene Jenkins.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>