mraa: rename internal adv func mraa_adv_func_t

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>
hook: change structure to pointer

Signed-off-by: Thomas Ingleby <thomas.c.ingleby@intel.com>