sweep2wake: compile barrier for unsupported devices

Change-Id: If0c28cc7fd47d43311deea7cdc5e38b49c621dda