legalize i64 stores of constants