drivers/atm: Correct code taking the size of a pointer