Adjustments to meet N3722 requirements for return types of resumable functions

Signed-off-by: K-ballo <k@fusionfenix.com>