osdep/path: remove ifdefs

They're not really needed, so kill them.
Config path functions can return NULL

It's quite unlikely, but functions like mp_find_user_config_file() can
return NULL, e.g. if $HOME is unset.

Fix all the code that didn't check for this correctly yet.