If dlopen("libwvm.so") fails, log the reason why.

Bug: 11342992
Change-Id: I99986b6181df6d7615fdc1520d2edaadaccd9bb4
Change AudioResampler's source quality.

Original commit.
commit ac6020508acedd316391dee42329040bf45f8d90
change ID ac602050
Some part of commit messages 'Very high quality is enabled only for 44.1 -> 48 or 48 -> 44.1, and uses low quality for all other use cases.'

But there are no codes for enabling 'Very high quality'.
So, I changed DEFAULT_QUALITY to VERY_HIGH_QUALITY to follow the intent of the author.

Change-Id: Ia0d081c96ff22b2a027452f969f6fa88402c0440
Fix c++11 narrowing

The best fix for these narrowing
violations is to use static casting

As an example, this change would the following for libnaio:
error: non-constant-expression cannot be narrowed from
type 'uint32_t' (aka 'unsigned int') to 'long' in initializer list

const struct timespec req = {0, ns};
                                ^~

Change-Id: I04ed1de4497dc19772194afef3ebf8fe0c8b82bc