[gdb] enable building gdb outside of src tree

Set PATCHDIR to <sourcetree>/dist/gdb to build gdb
outside of qtc sourcetree.

Signed-off-by: Juha Kallioinen <juha.kallioinen@jolla.com>