When adding a variant to a RMA, do not mark the inventory unit as received until the RMA has been marked as received.

[Fixes #3121]
[Fixes #3180]