timer: init only once

This avoids trouble if another mpv instance is initialized in the same
process.