cfi_flash: fix bug introduced while recent change to flash_get_size()