[TIMOB-18031] iOS: Fix all misc and logic type errors in static analyzer

Remaining misc and logic errors should be removed.
JIRA: https://jira.appcelerator.org/browse/TIMOB-18031
Instead of this you could just initialize the cornerRadius value to `MG_DEFAULT_CORNER_RADIUS`