optimize some HEAP32 expressions, including some unnecessary bitcasts through tempDoublePtr