SamsungServiceMode: dynamic line count

Initialize the mDisplay array based on the actual number of lines
received to avoid NPE due to null values in the array.

Change-Id: Id54570bd3fb3f1ee8ff16dd3cbc9daf03a1974b0