[GHC] #16294: Code generation corrupts writes to Addr#