Fixed compilation errors when caches are disabled

When address cache and page cache are turned off in libvmi.h compilation breaks.