Single-spin asymmetry of inclusive π0-meson production in 40-GeV pion interactions with a polarized target in the target-fragmentation region