core: add option to odex the output with TARGET_WITH_DEXPREOPT

WITH_DEXPREOPT is limited to user builds. This will allow toggling
it on even for userdebug or eng builds.

Change-Id: I9bf13eebdaad592f67e779ac24b9520d02f6d33f