Caused by rB43167a2c251b: Fix T90570: Constraint validity not updated with library overrides.
Code from above commit called RNA updates with a NULL scene.
This was already commented (and mostly handled) in rB5949d598bc33, but
the reported case was missing in that commit.
This fixes the crash in a similar manner as rB5949d598bc33.