Fix codegen for null different sized pointer.