update leak-check.rb
make detail::gcollect more simple if LIBJ_DEBUG is not defined
introduce LIBJ_GC_COLLECT_PER
fix a build error