[x86] x86_64_generic: Fix compiler error for UART based defterm

Recent changes in 8250-uart driver broke UART based deftern code
in x86_64_generic board hence this patch fixes it.

Signed-off-by: Anup Patel <anup@brainfault.org>