ThemesProvider : Catch xml exception for invalid xmls

Having a non zero resource id does not guarantee that the xml will
pass, hence try/catch that and only then continue to parse it.

Change-Id: I9fd496bb253e2a2d1f3b6a45914b1c7f26fa94e0