libceph, rbd: ignore addr->type while comparing in some cases