[PATCH 3.18 40/50] serial: max310x: Fix to avoid potential NULL pointer dereference