Fix SEGV when looking for crash frame in empty thread

btp_backtrace_get_crash_frame tries to duplicate a frame which is not
there. Fixes rhbz#903140.

Signed-off-by: Martin Milata <mmilata@redhat.com>
Signed-off-by: Jakub Filak <jfilak@redhat.com>