layout: Stop doing unsafe transmutes between refcell references.
deaa935
This commit splits the style and layout data in two separate refcells. These transmutes have been a source of trouble (for example on Android), and they feel like a hack anyway. Fixes #16982