AgentShield: Real-time Smart Contract Security for AI Agents