Crystal graphs and semicanonical functions for symmetrizable Cartan matrices