kernel/xdisk: Move the dereference of 'tag' below the NULL check.