Remove unused appdataptr in contikimac