Fix failures in testsuite-osgi-deps

- Make only netty-common depend on javassist at compile scope, and
  all others at test scope