fix random skill selection using skill index as skill ident

Sometimes during random char gen it would complain about a non-existing skill "^Z" or similar. Apparently the skill index (from `random_skill`) gets assigned to a string and consequently used as the skill ident.