This might work well enough to satisfy you.
Wrap a strip of paper around the tubular handguard.
Mark the overlap point - that will give you the circumference.
Fold the strip in half. Fold it in half again.
This will divide the strip into quarters.
Line up a fold with the center of the swivel. Using fold lines, make reference marks on the sides with a pencil.
Use a piece of angle iron, which will sit nicely on the tube, draw a pencil line along each side.
Lay out the mounting holes for your rails, center punch, drill and tap one hole.
Secure a rail, align the other holes on the pencil line, mark through the holes. Center punch, drill and tap.
If you are careful, your rails will be located within a few thousandths of an inch.