common/rc: Enable _format_swapfile to return the swap size