[usb-moded] Move some functions defintions out of usb-moded.h

To be able to build without depending on glib, two functions
which are now defined in usb_moded.c anyway now, have been moved
to the "correct" header file.

Signed-off-by: Philippe De Swert <philippe.deswert@jollamobile.com>