xapi: backport ARM fix

Signed-off-by: David Scott <dave.scott@citrix.com>