Use the context class loader in more places

We should be consistent: either we restrict the class loader to the one
that loaded imagej-legacy, or we use the current thread's context class
loader, not both.

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