[CA-137823] Use interlocked calls when expanding grant tables.

Signed-off-by: Owen Smith <owen.smith@citrix.com>
Merge remote-tracking branch 'xenserver/master'
Merge pull request #32 from OwenSmith/master

[CA-137823] Use interlocked calls when expanding grant tables.