bug 884300 - fix DWARF CFI record serialization. r=glandium a=lsblakk
(transplanted from 24e9d0e5998d0a6b846473ec22e022b338857543)