Any distance matrix

Compute a distance matrix no matter what.
It never happens that the system has a distance matrix between
something else that NUMANODES. Sometimes this matrix does not even
exist.
This commit will compute a hop distance matrix if the system does
not have any distance matrix. It will also reshape existing distance
matrix to match the distance query.
6 jobs for topology_query in 3 minutes and 23 seconds (queued for 1 second)
Status Job ID Name Coverage
  Style
passed #69879
nix kvm
clang-format

00:00:04

passed #69878
nix kvm
repoquality

00:00:02

passed #69880
nix kvm
style:docs

00:00:28

 
  Build
passed #69881
nix kvm
make:generic

00:00:49

passed #69883
knl
make:knl

00:02:52

passed #69882
nix kvm
make:out-of-tree

00:00:51