mosys: Fixed meson build for core/ locking

Core defines several ways to handling a global lock. These were being
incorrectly linked with Meson. Removed the CONFIG_USE_IPC_LOCK config
option and all #IFDEFs.

BUG=chromium:795837
TEST=Flashed to Eve and tested Mosys manually
BRANCH=none

Change-Id: I09f193ce49b9f8240d65b7518e5b0db24aed0c44
Reviewed-on: https://chromium-review.googlesource.com/1002548
Commit-Ready: Alec Thilenius <athilenius@google.com>
Tested-by: Alec Thilenius <athilenius@google.com>
Reviewed-by: Jason Clinton <jclinton@chromium.org>
5 files changed