scripts/oe-pkgdata-util: fix global name 'debug' is not defined

This global variable is no longer present, so pass in the value
specified via the command line.

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>