Ebuild dev-libs/gmp-6.3.0-r1 is emerging library libgmp.so.10.5.0. Therefore it should assigned to slot 10.5 (instead of the current 10.4).
The SONAME didn't change, so there's no need.