Replace 0 with NULL because NULL is used in struct pointer.
Merge pull request #1374 from suzukaze/refactor-vm.c

Replace 0 with NULL because NULL is used in struct pointer.