remove global_serial
remove inc_global_serial primitive
teach the JIT about constant name serials
return const native_int* from here instead of casting constness away
add back debug log when constant serial incremented
refactor ConstantSerialMap into SharedState