[PATCH 4.9 36/56] serial: max310x: Fix to avoid potential NULL pointer dereference