Linear weakly Noetherian constants of motion are horizontal gauge momenta