Drop a couple of function special cases in C backends.
Drop the builtin_staticitems hack. It doesn't seem necessary.
Finish getting rid of uses of deprecated functions.