resources: compiler: Fix resources on big endian architectures
resources: compiler: Fix resources on big endian architectures

Resources are always little endian, so the gvdb is byteswapped. When looking
up the value, it would return a new byteswapped variant, making the data
returned from do_lookup() invalid once that variant is unref'd. Since
byteswapping doesn't matter for the "ay" data anyway, just use
gvdb_table_get_raw_value() instead and only byteswap the length and flag
values.

https://bugzilla.gnome.org/show_bug.cgi?id=673409
(cherry picked from commit 5ef34e5f11b4f71a66615b6506108ee540cc3420)

bluez-android/glib,01org/android-bluez-glib,01org/android-bluez-glib,justinkb/aosp-bluez.glib,iConsole/Console-OS_external_bluetooth_glib,pstglia/platform-external-bluetooth-glib,justinkb/aosp-bluez.glib,pstglia/platform-external-bluetooth-glib,justinkb/aosp-bluez.glib,darren-clark/android_platform_external_bluetooth_glib,pstglia/external-bluetooth-glib,bluez-android/glib,bluez-android/glib,darren-clark/android_platform_external_bluetooth_glib,iConsole/Console-OS_external_bluetooth_glib,darren-clark/android_platform_external_bluetooth_glib,01org/android-bluez-glib,pstglia/platform-external-bluetooth-glib,pstglia/external-bluetooth-glib,01org/android-bluez-glib,darren-clark/android_platform_external_bluetooth_glib,pstglia/platform-external-bluetooth-glib,bluez-android/glib,iConsole/Console-OS_external_bluetooth_glib,01org/android-bluez-glib,iConsole/Console-OS_external_bluetooth_glib,justinkb/aosp-bluez.glib,pstglia/external-bluetooth-glib,justinkb/aosp-bluez.glib,pstglia/platform-external-bluetooth-glib,pstglia/external-bluetooth-glib,darren-clark/android_platform_external_bluetooth_glib,iConsole/Console-OS_external_bluetooth_glib,bluez-android/glib,pstglia/external-bluetooth-glib