Add function mini_gc_join_freelist()
Check if pointer is valid in mini_gc_free()