[telemetry] disabling telemetry made easier

- reorganize telemetry makefiles for FW
- protect some calls and provide default implementation of
  register_periodic
- improve generator with attribute unused keyword
[conf] fix telemetry for sim and test progs

test progs don't use periodic telemetry