kmsalphablending: Define variables before code

Change-Id: Ic78b73919cdd501420f6f538f7ae5718a252f023