KAFKA-1323; Fix regression due to KAFKA-1315 (support for relative
    directories in log.dirs property broke). Patched by Timothy Chen and
    Guozhang Wang; reviewed by Joel Koshy, Neha Narkhede and Jun Rao.