Windows OSL: fix possible memory leak in directory functions.

Free memory in error exit path.
ACPICA BZ 1065.
iASL/Preprocessor: Fix possible memory leak in macro processor.

Free buffer in error exit path. ACPICA BZ 1047.