pthread_frame: do not run hwaccel decoding asynchronously unless it's safe