Results from pion-carbon interactions measured by NA61/SHINE for better understanding of extensive air showers