Bump layout data ref count in unsafe_set_layout_data

We need this or else we double-free the layout data box and crash.