Make native compiler tollerant to redefined primitives (bug#44221).

	* lisp/emacs-lisp/comp.el (comp-emit-set-call-subr): Rework based
	on the fact that the subr can now be redefined.
	* test/src/comp-tests.el (primitive-redefine-compile-44221):
	New testcase.
4 jobs for feature/native-comp in 157 minutes and 48 seconds (queued for 6 seconds)
Status Job ID Name Coverage
  Test
failed #8469
test-all

01:41:09

failed #8470
test-native-bootstrap-speed0

00:00:11

passed #8471
test-native-bootstrap-speed1

02:34:26

passed #8472
test-native-bootstrap-speed2

02:37:41

 
Name Stage Failure
failed
test-all Test
make[1]: Leaving directory '/builds/emacs/emacs/lisp'
make -C test check-expensive
make[1]: Entering directory '/builds/emacs/emacs/test'
rm -f ./*.tmp
make[2]: Entering directory '/builds/emacs/emacs/test'
make[3]: Entering directory '/builds/emacs/emacs/test'
ELC lisp/net/tramp-tests.elc
GEN lisp/net/tramp-tests.log
ERROR: Job failed: exit code 137
failed
test-native-bootstrap-speed0 Test There has been a runner system failure, please try again
Running with gitlab-runner 12.0.2 (d0b76032)
on emba-docker-runner 2oEDrUT7
Using Docker executor with image debian:stretch ...
Pulling docker image debian:stretch ...
Using docker image sha256:c4ccba324c9c4ad861b28a5e5d2e3ad25185dc7752b2f5e2d216566fd4acec7b for debian:stretch ...
Running on runner-2oEDrUT7-project-1-concurrent-1 via emba.gnu.org...
ERROR: Job failed (system failure): Error: No such container: 746d1122b2dd0d7c148aa56c41f2c842533fdd1953d765941686302689db2a65 (executor_docker.go:769:0s)