keymaster: Change shared library path

Change shared library path from /system/lib to /vendor/lib,
but also fall back to the legacy shared library path if the new path
does not exist.

Change-Id: I8a1a314953aaf674e22f7fbcf63012e86aad9d76
Merge "keymaster: Change shared library path" into du44