tests: Move compare_matrices() to the shared namespace

And rename it graphene_assert_fuzzy_matrix_equal().