serial: max310x: Use devm_clk_get_optional() to get the input clock