A global memory component crisis has pushed second-quarter smartphone shipments to their lowest level since 2013, according to a report from Counterpoint.