Ensure that when ds_profile is NULL, NATIVE_CPU is selected.

Change-Id: Iab714a296ce0f807b5badd1ff96a99f3da2b24f8
(cherry picked from commit 5556b1ffaf81543af680c1f68b79f36d7ad1785e)