check_ram2: Fix awk int overflow on too much RAM
awk is unable to handle more than a 32 bit integer value in its calculations, yielding invalid results if the maximum int32 value is exceeded. This commit drops the calculation in the awk statement and instead performs it in bc, which supports more than 32 bit integers.
Closes: #4 (closed)