Add gencpp dependency in platform_motion

to ensure messages are built before the code that uses them