libmpa: remove floating point calculations

Removes floating point calculations in libmap. The floating point
calculations was unused but caused compile error when compiled
with DEBUG=1.

Tested-by: Jens Wiklander <jens.wiklander@linaro.org> (QEMU virt platform)