Cope with GranterPermitAccess() failing

Signed-off-by: Paul Durrant <paul.durrant@citrix.com>