Fix a few build warnings

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
Merge pull request #16 from pauldu/gnttab

Fix a few build warnings