Fancy cameras, giant screens and massive storage usually make smartphones more expensive. But next year, it’s a routine component that might be boosting prices: memory.