Updates ui.cover test to check screen dimensions before expecting window cover dimensions. PR 282310.

Reviewed By: Eric Li <eli@rim.com>
Tested By: Igor Shneur <ishneur@rim.com>