iof_init() enhancement

Reviewer: trivial

Modify the iof_init() return value to indicate whether the IOF was initialized or inherited. This is required to determine when it is
safe to initialize the IOF settings to custom values.