asm-generic: adapt delay.h to common implementation