core: simplify ImportVmCommand#computeMinAllocatedMem

Change-Id: I5e0c315f9a6ce90c1efab40e4bd72233231a6b5e
Signed-off-by: Arik Hadas <ahadas@redhat.com>