libdex: Skip the dexroot-on-cache stuff for user builds

Change-Id: I432b96ae3e25977ea17558b4a3f8ca90903cb5b5