Rename fromstring_XXX into stringcast_XXX

The function stringcast_XXX casts pointer to type string_t
into pointer to type XXX_t.