NATO attack could hurt war on terror - Pakistan