Discuss the Avalanche Virtual Machine (AVM), its pivotal role in executing smart contracts, and how its design and functionalities compare with Ethereum’s EVM and other blockchain virtual machines.