[PATCH 6.10 042/273] rtla/osnoise: Prevent NULL dereference in error handling