sim/posix: move rt_hw_context_switch_interrupt after it's definition

This fix a compile error in Clang.
Merge pull request #154 from grissiom/simulator

sim/posix: move rt_hw_context_switch_interrupt after it's definition