layers: Fix lx474 by adding image extent = 0 validation check.

Check only the valid dimensions for the imageType provided in
the create info.

Change-Id: I11d484caf1085b7b0ae4a402453b5fdcadd7b67d
2 files changed