package gdb: fix undefined symbols in bundled readline

Use pdcurses as we do for readline package.