Codegen: Fix Double type

Signed-off-by: Pekka Enberg <penberg@iki.fi>