Fix TARGET_OTA_ASSERT_DEVICE and GetBuildProp

Most of the edits necessary were already there but not all to properly use the BoardConfig's device asserts.