Make Pie layouts independent of the chosen mode

This commit makes Pie layouts not depend on the chosen immersive
mode, instead looking only at the 'is secure' value and picking
layouts based on that.

Change-Id: I5c06351f634c14e10290ffa9adbfbb258df19479