RASTLIB: convert rastcall wrapper functions to C.
RASTLIB: sluff unused rastcalls.
RASTLIB: switch to generic implementations for bytemap.

Convert pj_bym_put_dot and pj_bym_get_dot.
RASTLIB: segment is DOS specific and not needed in generic bytemap.
RASTLIB: switch to C version of clipbox.
RASTLIB: switch to generic implementations for safe clipbox.

Convert pj_sclip_put_dot and pj_sclip_get_dot.
RASTLIB: convert pj_shift_cmap.
RASTLIB: convert pj_tbli_line.