board: Use TARGET_SOC for uncoming opensource hals checking