moving compatibility kernel helpers to xio_os.h

Change-Id: Ic844e65b6c26c12ff395688ec4f9553aeb7e0310
Signed-off-by: Eyal Salomon <esalomon@mellanox.com>