fix removing repeated jobs by a repeated job
fix removing repeated jobs by a repeated job

Two edge cases were missed for removing of repeated jobs.
First, the job in tmp_rj could be removed and accessed in the
LIST_FOREACH_SAFE macro. Second, the job "lastNow" could be
removed and accessed during the search for the next insertion
point.

The master branch was not exposed to the bug, as the code was
already cleaned up in the push to make repeated jobs available
in the client.

jpfr/open62541,JGrothoff/open62541,JGrothoff/open62541,StalderT/open62541,open62541/open62541,StalderT/open62541,JGrothoff/open62541,jpfr/open62541,jpfr/open62541,JGrothoff/open62541,StalderT/open62541,StalderT/open62541,jpfr/open62541,open62541/open62541,open62541/open62541,open62541/open62541