Install pip under prefix with get-pip.

Installing pip in Cellar cause error on upgrading pip or setuptools.
Fixes #26900.