Remove apply_linear_index from void_pointer_dtype