Move convert_safe_layer to safe.utilities.utilities.

The function is being used in safe.utilities.impact_calculator.