Make RETURN_VALUE macro side effect safe.