[PATCH 4.4 117/312] serial: samsung: Fix possible out of bounds access on non-DT platform