Fixed upgrading from forward-lock application to system application

Fixes the case when the app on system is newer than the
currently installed. Something that can happen e.g. after
a FOTA update.

Change-Id: I102e9cdd5693d5e66667c0c8989dc2643c72dd16
Fix for positioning of glyphs within a bitmap

For positioning of glyphs within a bitmap, roundf(int + float) is used,
where the float is the glyph position and the int is the text position.
When the text position is varied, this may lead to the sum being rounded
in different directions, due to floating point rounding, caused by that
floating point numbers have different precision in different ranges.

This may therefore lead to slightly different positioning for glyphs and
therefore slightly different widths and heights for text strings,
depending on the position they are rendered at.

The solution in this patch is to use int + (int) roundf(float), which
has consistent rounding, and also enables us to use the full range of
ints.

Change-Id: Id1143cdfcbdfa9915ced878ae04df589a3e03cee
Revert "[1/2] Speed up booting on multicore devices."

This reverts commit 39d446fd2ae1c8b20314a15d8d54c64d316cd3eb.
Revert "Finish fixing Zygote descriptor leakage problem"

This reverts commit 07de698ba8bc7e34683edf0960aa1a2147ca8362.
Merge remote-tracking branch 'upstream/kk-4.4' into kk-4.4