Shortened some code in config/defines.inc.php

Shorter (and more clear) code, does mean realpath($currentDir.'/..') is used instead of _PS_ROOT_DIR_ in the 1 out of 3 chance (when both _PS_ROOT_DIR_ and _PS_CORE_DIR_ aren't defined).