[get_turns][relate][test][index] Fix unused variable warnings.

In the rtree/pack_create replace (void)variable to boost::ignore_unused_variable_warning().