Added classes and constant fields to list of immutables [BACKPORT]

Signed-off-by: Stefan Marr <git@stefan-marr.de>
Added assertions to show to RPython that temps are fine [BACKPORT]

For some reason, strange guards show up in traces around temp access.

Signed-off-by: Stefan Marr <git@stefan-marr.de>