fix warning ins newcharachter.cpp

Also replace itypes[] with item_controller->find_template
And use itype::nname(1) instead of itype::name
Merge remote-tracking branch 'BevapDin/fix-7559' into FrankenMod