util/ScheduledAction: use correct criteria for std::allocator friend class

Need to declare different friend classes based on the C++ standard library
in use.
util/Schedule...: force Boost to use std::chrono, part 2

See also @8e02458, which didn't catch all the places where we needed to
`#define BOOST_HAS_STD_CHRONO 1`.