[imu] fix default/weak implementation of imu_periodic

should fix #972