Revert "Generate global symbol names for primitives"

This reverts commit e9d6f2a728fa5cab31ba95f2f96eaba7c528a555.

This creates very long compile times for shared_state.cpp because of the
large number of globals.
Assign slot accessor direct primitive pointer