SYNOPSIS:
    MARKBITGD mask newval depth

DESCRIPTION:
    For all voxels that are of the given depth, bitwise AND the
    grey value with NOT mask, then OR it with newval.
    Useful for the greyplane12 renderer.
