You should not worry: the stats of the XL1000V are these:
Capacity: 4,1 litre (Dry fill), Capacity: 3,6 litre (Service fill), Filter capacity: 0,2 litre
So if the oilpan was fully drained during the change (incl replacement of the oilfilter) topping it up with 4.0L should be OK.