do_div() for gcc below 4.0.