AdvancedIncSubtensor1.c_code

Fixes #1763
(or more accurately it will when it is ok)

Replaces closed pull request #2286.
@nouiz ,
I don't really understand what you mean and what should be done here.