Rename os_total_mem to os_get_total_mem_kib.

Also removed an unused parameter.