[tango_attr_as_counter] Fix convert func raw none
@matias.guijarro this is a quick fix (from @formet) we had to introduce on the beamline in order to avoid failure when the raw_value
of a Tango attribute is None.
It would be great to have this merged somewhere. Also, feel free to discard this merge request and include it differently.