[PATCH 5.0 091/146] serial: mvebu-uart: Fix to avoid a potential NULL pointer dereference