Windows table OSL: Compile local mapping functions for acpidump only.

iASL uses oswinxf also, where the original copy of these functions exist.
Does not seem to be worthwhile at this time to split these into a
separate file, but we don't want to link oswinxf into AcpiDump.
AcpiDump: Update for FreeBSD support only.

Adds some conditional compiles required for FreeBSD support.
AcpiDump/Linux: Update for code style, no functional change.

Fixes a while(1) loop to improve readability.
Lv Zheng.