fixed stack-buffer-overflow in device_gfx_interface::decode_gfx() with extended offsets [Alex Jackson]