[PATCH 6.5 115/739] kbuild: rust_is_available: fix confusion when a version appears in the path