abrt-gdb-exploitable: handle prefixes correctly

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>