C++ with a little more rigor

@px4dev @jean-m-cyr @DonLakeFlyer This is a test for just the EKF module on stricter C++ warnings - I found the points raised by the compiler valid.
it's probably sufficient here to simply write  '''data = m.data'''  and let the compiler sort out whether it needs to call memcpy or not.