Generalized Littlewood–Richardson coefficients for branching rules of GL(n) and extremal weight crystals