Add 'compat.venv_real_prefix'.

This takes the burden of distinguishing between virtualenv and
PEP 405 venv from the other parts of the code.
Use 'compat.venv_real_prefix' in other code-parts.