Fix possible NULL pointer access in 8250 serial driver