fstests: check if the scratch device is an lv device for certain tests