The check_memory and check_swap plugins on Windows were incorrectly
rounding the memory/swap measurements to the nearest unit prior to
calculating a percentage. This was causing imprecise percentage
values when the unit selected meant that the values in question had
few significant figures.
fixes#10497
Signed-off-by: Jean Flach <jean-marcel.flach@netways.de>