TIMOB-16333-convert the value to default unit

Convert the platformWidth and platformHeight to default unit before returning.
https://jira.appcelerator.org/browse/TIMOB-16333