introduce the const_i64_* ops to spesh.

also, switch/case is a bit nicer to look at.