fastboot: add support for 'getvar platform'