logstore.java: Add some more type hints

Add type hints for all the lsm-* functions, to get rid of another set
of reflection warnings.

This addresses another part of #12.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>