dm-latency: more fix on moving struct mapped_device from dm.c to dm.h

Previous patch only adds struct mapped_device into dm.h, forget to
remove it from dm.c. This commit fixes this error.