[appsync-dbus] Fix small error checking bug

Fix error checking bug on dbus-launch and some more const cast fixing.

Signed-off-by: Philippe De Swert <philippedeswert@gmail.com>