fn stride_from_layout(
    layout: &PlanarLayout,
    width: u32,
    plane: usize
) -> RutabagaResult<u32>