Bug 835966 - Refactor {cx,rt,allocator}->malloc_ (r=luke)