[PATCH 6.1 166/600] kbuild: rust_is_available: fix confusion when a version appears in the path