mraa.c: check already initialised before anything else in mraa_init

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
binding.gyp.cmake: define *PLAT based on target_platform

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>