dalvik: let 32-bit dalvik build on multilib targets

Set LOCAL_32_BIT_ONLY for all target modules
Use LOCAL_LDFLAGS_x86 instead of ifeq ($(TARGET_ARCH),x86)
Set dvm_arch to TARGET_2ND_ARCH instead of TARGET_ARCH on 64-bit
targets

This will allow "make checkbuild" to succeed on 64-bit platforms.

Change-Id: Idd51dda26b54855c0c8640f8fcfbf4274baf8845
9 files changed