sampleconv.c: Fix read_buf_s24_3() (oops...); rewrite write_buf_s24_3().