move toolchain option validation to tools.options

- remove unreachable code
- move toolchain option validation to tools.options