Fixing VMI_DEBUG compiler error.

The dbprint is extraneous with the new all configs from hash table
changes.
Fix memory boundary checking

Legal access : addr+len<=mem_size;
Illegal access : addr+len>mem_size;
Minor move/initialized value.
Fixing VMI_CONFIG_GHASHTABLE.
Merge pull request #85 from mzguanglin/bugfixes

Fix memory boundary checking
Merge pull request #86 from awsaba/bugfixes_pr82

Bugfixes pr82
Merge branch 'master', remote-tracking branch 'upstream/master'