Add comparison operators for optional component when comparing to nullopt_t