Fix JNI mutex initialization

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>