Run thread_frame() even when frame = NULL.

Fixes RGUI on cores which use duping.
Also avoid redundant frame.lock locking.
If thr->frame.updated is false, the lock
cannot possible be held by thread.