sun6i: Add clock_init_safe() function

This is a preparation patch for adding SPL support.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>