[storage] state pruner: fix is_end_of_target_version
[storage] state pruner: fix is_end_of_target_version

aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core,aptos-labs/aptos-core