[usb-moded] Split of appsync for diag mode also. It's cleaner that way.

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