Check if posted data is_array before doing wc_clean in checkout

Not all data that is posted in checkout may be of string type. In some cases, arrays of strings are posted instead. This PR fixes warnings caused by Array to string conversion when WooCommerce tries to `wc_clean` arrays.