BUGFIX Add/remove entries for platform when adding external device/context
BUGFIX Add/remove entries for platform when adding external device/context

ghisvail/arrayfire,munnybearz/arrayfire,marbre/arrayfire,umar456/arrayfire,victorv/arrayfire,arrayfire/arrayfire,9prady9/arrayfire,merlin-ext/arrayfire,shehzan10/arrayfire,ghisvail/arrayfire,arrayfire/arrayfire,victorv/arrayfire,victorv/arrayfire,bkloppenborg/arrayfire,munnybearz/arrayfire,shehzan10/arrayfire,9prady9/arrayfire,ghisvail/arrayfire,umar456/arrayfire,marbre/arrayfire,merlin-ext/arrayfire,arrayfire/arrayfire,victorv/arrayfire,merlin-ext/arrayfire,umar456/arrayfire,shehzan10/arrayfire,marbre/arrayfire,shehzan10/arrayfire,arrayfire/arrayfire,merlin-ext/arrayfire,bkloppenborg/arrayfire,9prady9/arrayfire,umar456/arrayfire,bkloppenborg/arrayfire,munnybearz/arrayfire,ghisvail/arrayfire,9prady9/arrayfire,bkloppenborg/arrayfire,marbre/arrayfire