Use std::optional instead of fallback versions
The fallback implementations have been removed and the now deprecated names just forward to std::optional
. This also deprecates functions/common/optional.hh
which is essentially empty for some time.