find: fix a bug in !ENABLE_FEATURE_FIND_XDEV config