memory/atmel-ebi: Fix ns <-> cycles conversions