Add arch() getter to Task.
Add RR_ARCH_FUNCTION to map from dynamic supported_arch to static template<typename Arch>.