Fix DPI not loading on some devices if SystemUI setting is active

If we find the dimensions with ID being zero, it will throw a
ResourceNotFoundException.

This causes the rest of the hooks after “adjustSystemDimensions” in
“initZygote” to not be called.