Support grn_get_lock_timeout() and grn_set_lock_timeout()

This change requires Groonga 3.1.2.