crypto/scheduler: fix build with old gcc