Fix return value verification for receiveWithBuffer:length:flags