java: Do not typedef the same thing twice

It is enough to typedef JavaDestinationProxy once, in the header, and
only have a struct in the .c file. Fixes #106.

Reported-by: Peter Czanik <czanik@balabit.hu>
Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>