pthread_frame: fix uninitialized variable read