Coverity fixes in os/linux

CID 1237208 (#1 of 1): Test should be assignment (NO_EFFECT)no_effect_test: The boolean test in statement vmi->page_mode == VMI_PM_IA32E; has no effect.
CID 1237214 (#1 of 1): Resource leak (RESOURCE_LEAK)10. leaked_storage: Variable f going out of scope leaks the storage it points to.