Fix SpatialColumn#type_caste_code

Update type_cast_code to include the RGeo::Feature::X of the column
being typecasted.