sdcard_image-sunxi.bbclass: fixed .xz check

.xz check using a bashism that was not working, returning "]] : not found" error.
This check does not rely on bash, but works with sh.