FW/B: check also for mLayoutParams before calling checkForRelayout

http://jira.omnirom.org/browse/OMNI-976

Change-Id: I06c1926c5b8102b336d128d9b411f74a9eff3ded