rst: Fix core pointer passed into reading thread core image

Signed-off-by: Pavel Emelyanov <xemul@parallels.com>