AcpiDump: Update error handling in the os*tbl modules.

Correctly cleanup and return error codes for both the Windows
and Linux versions of the utility.