Best way to tell Altium that two pins are internally connected
You should not do that. You should connect both pins to ground on the board. This reduces the impedance between the ground node of the Pi and the ground of the circuit, reducing ground bounce and the risk of "unintended operation".