Make Database#register_array_type work without existing scalar conversion proc in the pg_array extension

The previous code was too strict.  A missing conversion proc is an
optimization for the case of a conversion proc that returns the
argument unmodified, so it shouldn't cause an error to be raised.