Use xtimer only optionally (when periph_timer is available) for the test. This makes this test applicable to freshly ported boards that do not yet have a peripheral timer driver.